import Home from '../views/Home/Home.vue'
const routes = [{
    path: '/',
    name: 'Home',
    component: Home
},
{
    path: '/about',
    name: 'About',
    component: () => import('../views/About/About.vue')
}, {
    path: "/detail/:id",
    name:"Detail",
    component: () => import("../views/Detail")
    }, {
    path: "/more",
    component:()=>import("../views/more")
}

]
/* 单一职责 */
export {
    routes
}